package minidb.parse.exps;
import minidb.parse.exps.Field.AggType;

public class OperandField extends Operand
{
	public Field field;
	public AggType aType;
	
	public OperandField(Field f)
	{
		this.field=f;
		this.aType=f.aType;
	}
	
	@Override
	public String Print()
	{
		return this.field.Print();
	}
	
	@Override
	public String Print_Base()
	{
		return this.field.Print_Base();
	}

	@Override
	public Operand DupOperand()
	{
		return new OperandField(new Field(this.field));
	}

	@Override
	public Object ToValue()
	{
		return null;
	}
	
}
